package com.grademaster.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.io.Serializable;

/**
 * 学生信息表
 * @TableName student_info
 */
@Data
@TableName(value ="student_info")
@ApiOperation("学生信息表")
public class StudentInfo implements Serializable {
    /**
     * 学生信息表ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("学生信息表ID")
    private Long studentInfoId;

    /**
     * 学生ID
     */
    @ApiModelProperty("学生ID")
    private Long studentId;

    /**
     * 班级ID
     */
    @ApiModelProperty("班级ID")
    private Long classId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
